package com.keshihao.servicebase.exceptionhandler;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Mr.Ke
 * @create 2020-05-12-19:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TechException extends RuntimeException{

    @ApiModelProperty(value = "状态码")
    private Integer code; // 状态码

    private String msg; // 异常信息

}
